﻿<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/page/common/head.jsp" %>
<div class="right">
    <div class="location">
        <strong>当前位置:</strong>
        <span>供货商管理页面 >> 供货商添加页面</span>
    </div>
    <div class="supplierAdd">
        <form id="userForm" name="userForm" enctype="multipart/form-data" method="post" action="${pageContext.request.contextPath }/sys/goodsSupplier/add">
            <!--div的class 为error是验证错误，ok是验证成功-->
            <div>
                <label for="supplierCode">供货商编号：</label>
                <input type="text" name="supplierCode" id="supplierCode" value="">
                <!-- 放置提示信息 -->
                <font color="red"></font>
            </div>
            <div>
                <label for="supplierName">供货商名称：</label>
                <input type="text" name="supplierName" id="supplierName" value="">
                <font color="red"></font>
            </div>
            <div>
                <label for="supplierDesc">供货商描述：</label>
                <input type="text" name="supplierDesc" id="supplierDesc" value="">
                <font color="red"></font>
            </div>
            <div>
                <label for="supplierContact">供货商联系人：</label>
                <input type="text" name="supplierContact" id="supplierContact" value="">
                <font color="red"></font>
            </div>
            <div>
                <label for="supplierTel">供货商联系电话：</label>
                <input type="text" name="supplierTel" id="supplierTel" value="">
                <font color="red"></font>
            </div>
            <div>
                <label for="supplierAddress">供货商地址：</label>
                <input name="supplierAddress" id="supplierAddress"  value="">
            </div>
            <div>
                <label for="fax">传真：</label>
                <input name="fax" id="fax"  value="">
            </div>
            <div>
                <input type="hidden" id="errorinfo" value=""/>
                <label for="companyLicPic">企业营业执照：</label>
                <input type="file" name="attachs" id="companyLicPic"/>
                <font color="red"></font>
            </div>
            <div>
                <input type="hidden" id="errorinfo_oc" value=""/>
                <label for="orgCodePic">组织机构代码证：</label>
                <input type="file" name="attachs1" id="orgCodePic"/>
                <font color="red"></font>
            </div>
            <div class="supplierAddBtn">
                <input type="submit" name="add" id="add" value="保存" >
                <input type="button" id="back" name="back" value="返回" onclick="javascript :history.back(-1);" >
            </div>
        </form>
    </div>
</div>
</section>
<%@include file="/WEB-INF/page/common/foot.jsp" %>
